package com.ex.himoffice.Controller;

import java.io.IOException;

import javax.servlet.http.HttpServletResponse;

public class HttpResponse {
	public static void sendMessage(HttpServletResponse response, String text) {
		try {
			response.setContentType("text/html;charset=UTF-8");
			response.getWriter().print(text);
			response.flushBuffer();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
